package main

type CustomerService struct {
	customers   []Customer
	customerNum int
}

func NewCustomerService() *CustomerService {
	customerService := &CustomerService{}
	customerService.customerNum = 1
	customer := NewCustomer(1, "zsh", "man", 11, "123", "123")
	customerService.customers = append(customerService.customers, customer)
	return customerService
}

func (this *CustomerService) List() []Customer {
	return this.customers
}
